x = float(input())
y = float(input())
r = float(input())
distance = (x ** 2 + y ** 2) ** 0.5
if abs(distance - r) < 0.000001:
    print(0)
elif distance < r:
    print(1)
else:
    print(-1)